/*
 Navicat Premium Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 80025
 Source Host           : localhost:3306
 Source Schema         : ry

 Target Server Type    : MySQL
 Target Server Version : 80025
 File Encoding         : 65001

 Date: 17/07/2022 18:54:24
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table` (
  `table_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '表描述',
  `sub_table_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '关联子表的表名',
  `sub_table_fk_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '子表关联的外键名',
  `class_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
  `package_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '其它生成选项',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='代码生成业务表';

-- ----------------------------
-- Records of gen_table
-- ----------------------------
BEGIN;
INSERT INTO `gen_table` VALUES (1, 'sys_config', '参数配置表', NULL, NULL, 'SysConfig', 'crud', 'com.ruoyi.system', 'system', 'config', '参数配置', 'ruoyi', '0', '/', NULL, 'admin', '2022-01-15 06:22:35', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (2, 'sys_user', '用户信息表', NULL, NULL, 'SysUser', 'crud', 'com.ruoyi.system', 'system', 'user', '用户信息', 'ruoyi', '0', '/', NULL, 'admin', '2022-01-15 08:29:36', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (17, 't_news', '新闻', NULL, NULL, 'News', 'crud', 'com.company.biz', 'biz', 'news', '新闻', 'admin', '0', '/', NULL, 'admin', '2022-02-15 11:45:16', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (19, 't_activity_apply', '参与活动', NULL, NULL, 'ActivityApply', 'crud', 'com.paw.volunteer', 'volunteer', 'apply', '参与活动', 'admin', '0', '/', '{\"parentMenuId\":5}', 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27', NULL);
INSERT INTO `gen_table` VALUES (20, 't_vol_activity', '志愿活动', NULL, NULL, 'VolActivity', 'crud', 'com.paw.volunteer', 'volunteer', 'activity', '志愿活动', 'admin', '0', '/', '{\"parentMenuId\":\"5\"}', 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40', NULL);
INSERT INTO `gen_table` VALUES (22, 'sys_dept', '部门表', NULL, NULL, 'SysDept', 'crud', 'com.company.biz', 'biz', 'dept', '部门', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (23, 'sys_dict_data', '字典数据表', NULL, NULL, 'SysDictData', 'crud', 'com.company.biz', 'biz', 'data', '字典数据', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (24, 'sys_dict_type', '字典类型表', NULL, NULL, 'SysDictType', 'crud', 'com.company.biz', 'biz', 'type', '字典类型', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (25, 'sys_job', '定时任务调度表', NULL, NULL, 'SysJob', 'crud', 'com.company.biz', 'biz', 'job', '定时任务调度', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (26, 'sys_job_log', '定时任务调度日志表', NULL, NULL, 'SysJobLog', 'crud', 'com.company.biz', 'biz', 'log', '定时任务调度日志', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (27, 'sys_logininfor', '系统访问记录', NULL, NULL, 'SysLogininfor', 'crud', 'com.company.biz', 'biz', 'logininfor', '系统访问记录', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (28, 'sys_menu', '菜单权限表', NULL, NULL, 'SysMenu', 'crud', 'com.company.biz', 'biz', 'menu', '菜单权限', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (29, 'sys_notice', '通知公告表', NULL, NULL, 'SysNotice', 'crud', 'com.company.biz', 'biz', 'notice', '通知公告', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:29', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (30, 'sys_oper_log', '操作日志记录', NULL, NULL, 'SysOperLog', 'crud', 'com.company.biz', 'biz', 'log', '操作日志记录', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:30', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (31, 'sys_post', '岗位信息表', NULL, NULL, 'SysPost', 'crud', 'com.company.biz', 'biz', 'post', '岗位信息', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:30', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (32, 'sys_role', '角色信息表', NULL, NULL, 'SysRole', 'crud', 'com.company.biz', 'biz', 'role', '角色信息', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:30', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (33, 'sys_role_dept', '角色和部门关联表', NULL, NULL, 'SysRoleDept', 'crud', 'com.company.biz', 'biz', 'dept', '角色和部门关联', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:30', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (34, 'sys_role_menu', '角色和菜单关联表', NULL, NULL, 'SysRoleMenu', 'crud', 'com.company.biz', 'biz', 'menu', '角色和菜单关联', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:30', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (35, 'sys_user_post', '用户与岗位关联表', NULL, NULL, 'SysUserPost', 'crud', 'com.company.biz', 'biz', 'post', '用户与岗位关联', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:30', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (36, 'sys_user_role', '用户和角色关联表', NULL, NULL, 'SysUserRole', 'crud', 'com.company.biz', 'biz', 'role', '用户和角色关联', 'admin', '0', '/', NULL, 'admin', '2022-02-16 05:40:30', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (38, 't_volunteer', '志愿者', NULL, NULL, 'Volunteer', 'crud', 'com.company.biz', 'biz', 'volunteer', '志愿者', 'admin', '0', '/', NULL, 'admin', '2022-02-23 12:09:46', '', NULL, NULL);
INSERT INTO `gen_table` VALUES (39, 't_user', '用户表', NULL, NULL, 'User', 'crud', 'com.paw.ums', 'ums', 'ums', '用户', 'admin', '0', '/', '{\"parentMenuId\":\"3\"}', 'admin', '2022-02-26 09:56:17', '', '2022-02-26 10:02:41', NULL);
INSERT INTO `gen_table` VALUES (41, 't_sms_template', '短信模板', NULL, NULL, 'SmsTemplate', 'crud', 'com.paw.ruoyi.admin', 'sms', 'smsTemplate', '短信模板', 'admin', '0', '/', '{\"parentMenuId\":\"2032\"}', 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12', NULL);
INSERT INTO `gen_table` VALUES (42, 't_sms_send_log', '短信发送记录', NULL, NULL, 'SmsSendLog', 'crud', 'com.paw.ruoyi.admin', 'sms', 'smsLog', '短信发送记录', 'admin', '0', '/', '{\"parentMenuId\":2032}', 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08', NULL);
INSERT INTO `gen_table` VALUES (43, 't_goods', '商品', NULL, NULL, 'Goods', 'crud', 'com.paw.product', 'product', 'goods', '商品', 'admin', '0', '/', '{\"parentMenuId\":\"2045\"}', 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52', NULL);
INSERT INTO `gen_table` VALUES (44, 't_goods_spec', '商品规格', NULL, NULL, 'GoodsSpec', 'crud', 'com.paw.product', 'product', 'goodsSpec', '商品规格', 'admin', '0', '/', '{\"parentMenuId\":\"2045\"}', 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22', NULL);
INSERT INTO `gen_table` VALUES (45, 't_brand', '品牌', NULL, NULL, 'Brand', 'crud', 'com.paw.product', 'product', 'brand', '品牌', 'admin', '0', '/', '{\"parentMenuId\":2045}', 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01', NULL);
INSERT INTO `gen_table` VALUES (46, 't_category', '分类', NULL, NULL, 'Category', 'crud', 'com.paw.product', 'product', 'category', '分类', 'admin', '0', '/', '{\"parentMenuId\":\"2045\"}', 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09', NULL);
INSERT INTO `gen_table` VALUES (47, 't_advert_item', '广告', NULL, NULL, 'AdvertItem', 'crud', 'com.paw.content', 'content', 'advertItem', '广告', 'admin', '0', '/', '{\"parentMenuId\":6}', 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36', NULL);
INSERT INTO `gen_table` VALUES (48, 't_advert_location', '广告位', NULL, NULL, 'AdvertLocation', 'crud', 'com.paw.content', 'content', 'advertLocation', '广告位', 'admin', '0', '/', '{\"parentMenuId\":\"6\"}', 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30', NULL);
INSERT INTO `gen_table` VALUES (49, 't_article_item', '文章', NULL, NULL, 'ArticleItem', 'crud', 'com.paw.content', 'content', 'articleItem', '文章', 'admin', '0', '/', '{\"parentMenuId\":\"6\"}', 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16', NULL);
INSERT INTO `gen_table` VALUES (50, 't_article_location', '文章位置', NULL, NULL, 'ArticleLocation', 'crud', 'com.paw.content', 'content', 'articleLocation', '文章位置', 'admin', '0', '/', '{\"parentMenuId\":\"6\"}', 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00', NULL);
COMMIT;

-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column` (
  `column_id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
  `table_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典类型',
  `sort` int DEFAULT NULL COMMENT '排序',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=731 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='代码生成业务表字段';

-- ----------------------------
-- Records of gen_table_column
-- ----------------------------
BEGIN;
INSERT INTO `gen_table_column` VALUES (1, '1', 'config_id', '参数主键', 'int', 'Long', 'configId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (2, '1', 'config_name', '参数名称', 'varchar(100)', 'String', 'configName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (3, '1', 'config_key', '参数键名', 'varchar(100)', 'String', 'configKey', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (4, '1', 'config_value', '参数键值', 'varchar(500)', 'String', 'configValue', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'textarea', '', 4, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (5, '1', 'config_type', '系统内置（Y是 N否）', 'char(1)', 'String', 'configType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 5, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (6, '1', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (7, '1', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 7, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (8, '1', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (9, '1', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (10, '1', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 10, 'admin', '2022-01-15 06:22:35', '', NULL);
INSERT INTO `gen_table_column` VALUES (11, '2', 'user_id', '用户ID', 'bigint', 'Long', 'userId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (12, '2', 'dept_id', '部门ID', 'bigint', 'Long', 'deptId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (13, '2', 'user_name', '用户账号', 'varchar(30)', 'String', 'userName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (14, '2', 'nick_name', '用户昵称', 'varchar(30)', 'String', 'nickName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 4, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (15, '2', 'user_type', '用户类型（00系统用户）', 'varchar(2)', 'String', 'userType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 5, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (16, '2', 'email', '用户邮箱', 'varchar(50)', 'String', 'email', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (17, '2', 'phonenumber', '手机号码', 'varchar(11)', 'String', 'phonenumber', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (18, '2', 'sex', '用户性别（0男 1女 2未知）', 'char(1)', 'String', 'sex', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 8, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (19, '2', 'avatar', '头像地址', 'varchar(100)', 'String', 'avatar', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (20, '2', 'password', '密码', 'varchar(100)', 'String', 'password', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (21, '2', 'status', '帐号状态（0正常 1停用）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 11, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (22, '2', 'del_flag', '删除标志（0代表存在 2代表删除）', 'char(1)', 'String', 'delFlag', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (23, '2', 'login_ip', '最后登录IP', 'varchar(128)', 'String', 'loginIp', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (24, '2', 'login_date', '最后登录时间', 'datetime', 'Date', 'loginDate', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 14, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (25, '2', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 15, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (26, '2', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 16, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (27, '2', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 17, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (28, '2', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 18, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (29, '2', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'textarea', '', 19, 'admin', '2022-01-15 08:29:36', '', NULL);
INSERT INTO `gen_table_column` VALUES (300, '17', 'f_id', '主键', 'bigint', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (301, '17', 'f_title', '标题', 'varchar(200)', 'String', 'title', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (302, '17', 'f_img_url', '图片地址', 'varchar(255)', 'String', 'imgUrl', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (303, '17', 'f_context', '内容', 'text', 'String', 'context', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (304, '17', 'f_browse_num', '浏览量', 'int', 'Integer', 'browseNum', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (305, '17', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (306, '17', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 7, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (307, '17', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (308, '17', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 9, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (309, '17', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (310, '17', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-02-15 11:45:16', '', NULL);
INSERT INTO `gen_table_column` VALUES (321, '19', 'f_id', '主键', 'bigint', 'Long', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (322, '19', 'f_user_id', '用户id', 'bigint', 'Long', 'userId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (323, '19', 'f_activity_id', '活动id', 'bigint', 'Long', 'activityId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (324, '19', 'f_activity_imgs', '活动图片', 'varchar(500)', 'String', 'activityImgs', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (325, '19', 'f_sign_state', '签到状态 （0：否；1：是）', 'int', 'Integer', 'signState', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (326, '19', 'f_sign_time', '签到时间', 'datetime', 'Date', 'signTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 6, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (327, '19', 'f_audit_state', '审核状态 （0：待审核；1：通过；2：拒绝）', 'int', 'Integer', 'auditState', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (328, '19', 'f_audit_operator', '审核人', 'varchar(50)', 'String', 'auditOperator', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (329, '19', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (330, '19', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 10, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (331, '19', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (332, '19', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 12, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (333, '19', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (334, '19', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-02-16 05:40:23', '', '2022-02-16 05:41:27');
INSERT INTO `gen_table_column` VALUES (335, '20', 'f_id', '主键', 'bigint', 'Long', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (336, '20', 'f_activity_name', '活动名称', 'varchar(100)', 'String', 'activityName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (337, '20', 'f_activity_status', '活动状态 （0：未上线；1：已上线；3：已结束）', 'int', 'Integer', 'activityStatus', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'activity_status', 3, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (338, '20', 'f_img_url', '图片url', 'varchar(255)', 'String', 'imgUrl', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (339, '20', 'f_short_desc', '活动简介', 'varchar(255)', 'String', 'shortDesc', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (340, '20', 'f_context', '活动内容', 'text', 'String', 'context', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (341, '20', 'f_start_time', '开始时间', 'datetime', 'Date', 'startTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 7, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (342, '20', 'f_end_time', '结束时间', 'datetime', 'Date', 'endTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 8, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (343, '20', 'f_addr', '活动地点', 'varchar(255)', 'String', 'addr', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (344, '20', 'f_limit_user_num', '限制人数', 'int', 'Integer', 'limitUserNum', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (345, '20', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (346, '20', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 12, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (347, '20', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 13, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (348, '20', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', NULL, '1', '1', 'EQ', 'datetime', '', 14, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (349, '20', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 15, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (350, '20', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 16, 'admin', '2022-02-16 05:40:23', '', '2022-02-17 10:43:40');
INSERT INTO `gen_table_column` VALUES (363, '22', 'dept_id', '部门id', 'bigint', 'Long', 'deptId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (364, '22', 'parent_id', '父部门id', 'bigint', 'Long', 'parentId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (365, '22', 'ancestors', '祖级列表', 'varchar(50)', 'String', 'ancestors', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (366, '22', 'dept_name', '部门名称', 'varchar(30)', 'String', 'deptName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (367, '22', 'order_num', '显示顺序', 'int', 'Integer', 'orderNum', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (368, '22', 'leader', '负责人', 'varchar(20)', 'String', 'leader', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (369, '22', 'phone', '联系电话', 'varchar(11)', 'String', 'phone', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (370, '22', 'email', '邮箱', 'varchar(50)', 'String', 'email', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (371, '22', 'status', '部门状态（0正常 1停用）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 9, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (372, '22', 'del_flag', '删除标志（0代表存在 2代表删除）', 'char(1)', 'String', 'delFlag', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (373, '22', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (374, '22', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 12, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (375, '22', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (376, '22', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 14, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (377, '23', 'dict_code', '字典编码', 'bigint', 'Long', 'dictCode', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (378, '23', 'dict_sort', '字典排序', 'int', 'Integer', 'dictSort', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (379, '23', 'dict_label', '字典标签', 'varchar(100)', 'String', 'dictLabel', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (380, '23', 'dict_value', '字典键值', 'varchar(100)', 'String', 'dictValue', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (381, '23', 'dict_type', '字典类型', 'varchar(100)', 'String', 'dictType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (382, '23', 'css_class', '样式属性（其他样式扩展）', 'varchar(100)', 'String', 'cssClass', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (383, '23', 'list_class', '表格回显样式', 'varchar(100)', 'String', 'listClass', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (384, '23', 'is_default', '是否默认（Y是 N否）', 'char(1)', 'String', 'isDefault', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (385, '23', 'status', '状态（0正常 1停用）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 9, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (386, '23', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (387, '23', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 11, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (388, '23', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (389, '23', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (390, '23', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 14, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (391, '24', 'dict_id', '字典主键', 'bigint', 'Long', 'dictId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (392, '24', 'dict_name', '字典名称', 'varchar(100)', 'String', 'dictName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (393, '24', 'dict_type', '字典类型', 'varchar(100)', 'String', 'dictType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (394, '24', 'status', '状态（0正常 1停用）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (395, '24', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (396, '24', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (397, '24', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (398, '24', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (399, '24', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 9, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (400, '25', 'job_id', '任务ID', 'bigint', 'Long', 'jobId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (401, '25', 'job_name', '任务名称', 'varchar(64)', 'String', 'jobName', '1', '0', NULL, '1', NULL, NULL, NULL, 'LIKE', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (402, '25', 'job_group', '任务组名', 'varchar(64)', 'String', 'jobGroup', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (403, '25', 'invoke_target', '调用目标字符串', 'varchar(500)', 'String', 'invokeTarget', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (404, '25', 'cron_expression', 'cron执行表达式', 'varchar(255)', 'String', 'cronExpression', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (405, '25', 'misfire_policy', '计划执行错误策略（1立即执行 2执行一次 3放弃执行）', 'varchar(20)', 'String', 'misfirePolicy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (406, '25', 'concurrent', '是否并发执行（0允许 1禁止）', 'char(1)', 'String', 'concurrent', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (407, '25', 'status', '状态（0正常 1暂停）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (408, '25', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (409, '25', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 10, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (410, '25', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (411, '25', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 12, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (412, '25', 'remark', '备注信息', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 13, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (413, '26', 'job_log_id', '任务日志ID', 'bigint', 'Long', 'jobLogId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (414, '26', 'job_name', '任务名称', 'varchar(64)', 'String', 'jobName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (415, '26', 'job_group', '任务组名', 'varchar(64)', 'String', 'jobGroup', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (416, '26', 'invoke_target', '调用目标字符串', 'varchar(500)', 'String', 'invokeTarget', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (417, '26', 'job_message', '日志信息', 'varchar(500)', 'String', 'jobMessage', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (418, '26', 'status', '执行状态（0正常 1失败）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (419, '26', 'exception_info', '异常信息', 'varchar(2000)', 'String', 'exceptionInfo', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (420, '26', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (421, '27', 'info_id', '访问ID', 'bigint', 'Long', 'infoId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (422, '27', 'user_name', '用户账号', 'varchar(50)', 'String', 'userName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (423, '27', 'ipaddr', '登录IP地址', 'varchar(128)', 'String', 'ipaddr', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (424, '27', 'login_location', '登录地点', 'varchar(255)', 'String', 'loginLocation', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (425, '27', 'browser', '浏览器类型', 'varchar(50)', 'String', 'browser', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (426, '27', 'os', '操作系统', 'varchar(50)', 'String', 'os', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (427, '27', 'status', '登录状态（0成功 1失败）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (428, '27', 'msg', '提示消息', 'varchar(255)', 'String', 'msg', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (429, '27', 'login_time', '访问时间', 'datetime', 'Date', 'loginTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 9, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (430, '28', 'menu_id', '菜单ID', 'bigint', 'Long', 'menuId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (431, '28', 'menu_name', '菜单名称', 'varchar(50)', 'String', 'menuName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (432, '28', 'parent_id', '父菜单ID', 'bigint', 'Long', 'parentId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (433, '28', 'order_num', '显示顺序', 'int', 'Integer', 'orderNum', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (434, '28', 'path', '路由地址', 'varchar(200)', 'String', 'path', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (435, '28', 'component', '组件路径', 'varchar(255)', 'String', 'component', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (436, '28', 'query', '路由参数', 'varchar(255)', 'String', 'query', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (437, '28', 'is_frame', '是否为外链（0是 1否）', 'int', 'Integer', 'isFrame', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (438, '28', 'is_cache', '是否缓存（0缓存 1不缓存）', 'int', 'Integer', 'isCache', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (439, '28', 'menu_type', '菜单类型（M目录 C菜单 F按钮）', 'char(1)', 'String', 'menuType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 10, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (440, '28', 'visible', '菜单状态（0显示 1隐藏）', 'char(1)', 'String', 'visible', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (441, '28', 'status', '菜单状态（0正常 1停用）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 12, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (442, '28', 'perms', '权限标识', 'varchar(100)', 'String', 'perms', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (443, '28', 'icon', '菜单图标', 'varchar(100)', 'String', 'icon', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (444, '28', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (445, '28', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 16, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (446, '28', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 17, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (447, '28', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 18, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (448, '28', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 19, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (449, '29', 'notice_id', '公告ID', 'int', 'Integer', 'noticeId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (450, '29', 'notice_title', '公告标题', 'varchar(50)', 'String', 'noticeTitle', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (451, '29', 'notice_type', '公告类型（1通知 2公告）', 'char(1)', 'String', 'noticeType', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 3, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (452, '29', 'notice_content', '公告内容', 'longblob', 'String', 'noticeContent', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'editor', '', 4, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (453, '29', 'status', '公告状态（0正常 1关闭）', 'char(1)', 'String', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 5, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (454, '29', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (455, '29', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 7, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (456, '29', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-16 05:40:29', '', NULL);
INSERT INTO `gen_table_column` VALUES (457, '29', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (458, '29', 'remark', '备注', 'varchar(255)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 10, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (459, '30', 'oper_id', '日志主键', 'bigint', 'Long', 'operId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (460, '30', 'title', '模块标题', 'varchar(50)', 'String', 'title', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (461, '30', 'business_type', '业务类型（0其它 1新增 2修改 3删除）', 'int', 'Integer', 'businessType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 3, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (462, '30', 'method', '方法名称', 'varchar(100)', 'String', 'method', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (463, '30', 'request_method', '请求方式', 'varchar(10)', 'String', 'requestMethod', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (464, '30', 'operator_type', '操作类别（0其它 1后台用户 2手机端用户）', 'int', 'Integer', 'operatorType', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'select', '', 6, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (465, '30', 'oper_name', '操作人员', 'varchar(50)', 'String', 'operName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 7, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (466, '30', 'dept_name', '部门名称', 'varchar(50)', 'String', 'deptName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 8, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (467, '30', 'oper_url', '请求URL', 'varchar(255)', 'String', 'operUrl', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (468, '30', 'oper_ip', '主机地址', 'varchar(128)', 'String', 'operIp', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (469, '30', 'oper_location', '操作地点', 'varchar(255)', 'String', 'operLocation', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (470, '30', 'oper_param', '请求参数', 'varchar(2000)', 'String', 'operParam', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (471, '30', 'json_result', '返回参数', 'varchar(2000)', 'String', 'jsonResult', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (472, '30', 'status', '操作状态（0正常 1异常）', 'int', 'Integer', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 14, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (473, '30', 'error_msg', '错误消息', 'varchar(2000)', 'String', 'errorMsg', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (474, '30', 'oper_time', '操作时间', 'datetime', 'Date', 'operTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 16, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (475, '31', 'post_id', '岗位ID', 'bigint', 'Long', 'postId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (476, '31', 'post_code', '岗位编码', 'varchar(64)', 'String', 'postCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (477, '31', 'post_name', '岗位名称', 'varchar(50)', 'String', 'postName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (478, '31', 'post_sort', '显示顺序', 'int', 'Integer', 'postSort', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (479, '31', 'status', '状态（0正常 1停用）', 'char(1)', 'String', 'status', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 5, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (480, '31', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (481, '31', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 7, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (482, '31', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (483, '31', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (484, '31', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 10, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (485, '32', 'role_id', '角色ID', 'bigint', 'Long', 'roleId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (486, '32', 'role_name', '角色名称', 'varchar(30)', 'String', 'roleName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (487, '32', 'role_key', '角色权限字符串', 'varchar(100)', 'String', 'roleKey', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (488, '32', 'role_sort', '显示顺序', 'int', 'Integer', 'roleSort', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (489, '32', 'data_scope', '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）', 'char(1)', 'String', 'dataScope', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (490, '32', 'menu_check_strictly', '菜单树选择项是否关联显示', 'tinyint(1)', 'Integer', 'menuCheckStrictly', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (491, '32', 'dept_check_strictly', '部门树选择项是否关联显示', 'tinyint(1)', 'Integer', 'deptCheckStrictly', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (492, '32', 'status', '角色状态（0正常 1停用）', 'char(1)', 'String', 'status', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 8, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (493, '32', 'del_flag', '删除标志（0代表存在 2代表删除）', 'char(1)', 'String', 'delFlag', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (494, '32', 'create_by', '创建者', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 10, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (495, '32', 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 11, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (496, '32', 'update_by', '更新者', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (497, '32', 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (498, '32', 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 14, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (499, '33', 'role_id', '角色ID', 'bigint', 'Long', 'roleId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (500, '33', 'dept_id', '部门ID', 'bigint', 'Long', 'deptId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (501, '34', 'role_id', '角色ID', 'bigint', 'Long', 'roleId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (502, '34', 'menu_id', '菜单ID', 'bigint', 'Long', 'menuId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (503, '35', 'user_id', '用户ID', 'bigint', 'Long', 'userId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (504, '35', 'post_id', '岗位ID', 'bigint', 'Long', 'postId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (505, '36', 'user_id', '用户ID', 'bigint', 'Long', 'userId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (506, '36', 'role_id', '角色ID', 'bigint', 'Long', 'roleId', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2022-02-16 05:40:30', '', NULL);
INSERT INTO `gen_table_column` VALUES (527, '38', 'f_id', '主键', 'bigint', 'Long', 'id', '1', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (528, '38', 'f_user_id', '用户id', 'bigint', 'Long', 'userId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (529, '38', 'f_user_name', '用户名称', 'varchar(50)', 'String', 'userName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (530, '38', 'f_organization', '组织', 'varchar(50)', 'String', 'organization', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (531, '38', 'f_politics_status', '政治面貌 (群众、积极分子、预报党员、党员)', 'varchar(50)', 'String', 'politicsStatus', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 5, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (532, '38', 'f_audit_state', '审核状态 （0：待审核；1：通过；2：拒绝）', 'int', 'Integer', 'auditState', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (533, '38', 'f_audit_operator', '审核人', 'varchar(50)', 'String', 'auditOperator', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (534, '38', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (535, '38', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', '1', NULL, '1', NULL, 'EQ', 'datetime', '', 9, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (536, '38', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (537, '38', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 11, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (538, '38', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-02-23 12:09:46', '', NULL);
INSERT INTO `gen_table_column` VALUES (539, '38', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-02-23 12:09:47', '', NULL);
INSERT INTO `gen_table_column` VALUES (540, '39', 'f_id', '主键', 'bigint', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-02-26 09:56:17', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (541, '39', 'f_user_name', '姓名', 'varchar(100)', 'String', 'userName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-02-26 09:56:17', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (542, '39', 'f_user_phone', '用户手机号', 'varchar(100)', 'String', 'userPhone', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (543, '39', 'f_qr_code', '用户二维码标识', 'varchar(255)', 'String', 'qrCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (544, '39', 'f_gender', '性别（0:未知;1:男;2:女）', 'int', 'Integer', 'gender', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (545, '39', 'f_birthday', '生日', 'date', 'Date', 'birthday', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'datetime', '', 6, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (546, '39', 'f_id_card_no', '身份证号', 'varchar(20)', 'String', 'idCardNo', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (547, '39', 'f_id_card_front', '身份证正面照', 'varchar(255)', 'String', 'idCardFront', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (548, '39', 'f_id_card_reverse', '身份证反面照', 'varchar(255)', 'String', 'idCardReverse', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (549, '39', 'f_nickname', '昵称', 'varchar(100)', 'String', 'nickname', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 10, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (550, '39', 'f_avatar', '头像', 'varchar(255)', 'String', 'avatar', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 11, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (551, '39', 'f_login_pwd', '登陆密码', 'varchar(100)', 'String', 'loginPwd', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 12, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (552, '39', 'f_pay_pwd', '支付密码', 'varchar(100)', 'String', 'payPwd', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 13, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (553, '39', 'f_wx_open_id', '注册类型', 'varchar(100)', 'String', 'wxOpenId', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 14, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (554, '39', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', '1', '1', NULL, NULL, NULL, 'EQ', 'input', '', 15, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (555, '39', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, '1', NULL, 'EQ', 'datetime', '', 16, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (556, '39', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 17, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (557, '39', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 18, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (558, '39', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 19, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (559, '39', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 20, 'admin', '2022-02-26 09:56:18', '', '2022-02-26 10:02:41');
INSERT INTO `gen_table_column` VALUES (573, '41', 'f_id', 'id', 'bigint unsigned', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (574, '41', 'f_template_code', '模板code', 'int', 'Integer', 'templateCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (575, '41', 'f_sys_service_name', '系统服务名', 'varchar(50)', 'String', 'sysServiceName', '0', '0', NULL, '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (576, '41', 'f_service_provider', '服务商', 'varchar(50)', 'String', 'serviceProvider', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (577, '41', 'f_service_template_code', '服务商模板', 'varchar(50)', 'String', 'serviceTemplateCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (578, '41', 'f_template_name', '模板名称', 'varchar(100)', 'String', 'templateName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 6, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (579, '41', 'f_template_body', '模板内容', 'varchar(500)', 'String', 'templateBody', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (580, '41', 'f_template_params', '模板参数', 'varchar(100)', 'String', 'templateParams', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 8, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (581, '41', 'f_status', '状态(1是,0否)', 'int', 'Integer', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', 'biz_state', 9, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (582, '41', 'f_create_by', '创建人', 'varchar(50)', 'String', 'createBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (583, '41', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, '1', NULL, 'EQ', 'datetime', '', 11, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (584, '41', 'f_update_by', '修改人', 'varchar(50)', 'String', 'updateBy', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (585, '41', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (586, '41', 'f_yn', '是否有效', 'int', 'Integer', 'yn', '0', '0', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-03-13 04:24:06', '', '2022-03-18 06:52:12');
INSERT INTO `gen_table_column` VALUES (587, '42', 'f_id', 'id', 'bigint unsigned', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (588, '42', 'f_template_id', '模板id', 'bigint', 'Long', 'templateId', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (589, '42', 'f_template_code', '模板编号', 'varchar(50)', 'String', 'templateCode', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (590, '42', 'f_phone', '发送手机号', 'varchar(100)', 'String', 'phone', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (591, '42', 'f_template_name', '模板名称', 'varchar(100)', 'String', 'templateName', '0', '0', NULL, '1', '1', '1', NULL, 'LIKE', 'input', '', 5, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (592, '42', 'f_params', '发送参数', 'varchar(100)', 'String', 'params', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 6, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (593, '42', 'f_send_status', '发送状态', 'int', 'Integer', 'sendStatus', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', 'sms_log_send_status', 7, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (594, '42', 'f_response_message', '返回消息', 'varchar(50)', 'String', 'responseMessage', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 8, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (595, '42', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (596, '42', 'f_create_by', '创建人', 'varchar(50)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (597, '42', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 11, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (598, '42', 'f_update_by', '修改人', 'varchar(50)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (599, '42', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 13, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (600, '42', 'f_yn', '是否有效', 'int', 'Integer', 'yn', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-03-13 11:37:39', '', '2022-03-13 11:43:08');
INSERT INTO `gen_table_column` VALUES (601, '43', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (602, '43', 'f_merchant_id', '商户Id', 'bigint', 'Long', 'merchantId', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'select', '', 2, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (603, '43', 'f_store_id', '店铺Id', 'bigint', 'Long', 'storeId', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 3, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (604, '43', 'f_store_name', '店铺名称', 'varchar(100)', 'String', 'storeName', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 4, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (605, '43', 'f_goods_code', '商品编码', 'varchar(50)', 'String', 'goodsCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (606, '43', 'f_bar_code', '产品条码', 'varchar(50)', 'String', 'barCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (607, '43', 'f_goods_title', '商品简介', 'varchar(200)', 'String', 'goodsTitle', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (608, '43', 'f_keyword', '关键字', 'varchar(200)', 'String', 'keyword', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (609, '43', 'f_category_id', '分类id', 'bigint', 'Long', 'categoryId', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (610, '43', 'f_category_name', '分类名称', 'varchar(100)', 'String', 'categoryName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 10, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (611, '43', 'f_category_path', '分类路径', 'varchar(200)', 'String', 'categoryPath', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (612, '43', 'f_brand_id', '品牌id', 'bigint', 'Long', 'brandId', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (613, '43', 'f_brand_name', '品牌名称', 'varchar(100)', 'String', 'brandName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 13, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (614, '43', 'f_goods_detail', '商品详情', 'varchar(3000)', 'String', 'goodsDetail', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (615, '43', 'f_freight_template_id', '运费模板 ', 'bigint', 'Long', 'freightTemplateId', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 15, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (616, '43', 'f_unit_name', '单位名称', 'varchar(20)', 'String', 'unitName', '0', '0', '1', '1', '1', NULL, NULL, 'LIKE', 'input', '', 16, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (617, '43', 'f_sort_num', '排序', 'int', 'Integer', 'sortNum', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 17, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (618, '43', 'f_sale_num', '销量', 'int unsigned', 'Integer', 'saleNum', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 18, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (619, '43', 'f_show_state', '状态（0：未上架，1：上架）', 'int', 'Integer', 'showState', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 19, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (620, '43', 'f_hot_state', '热卖', 'int', 'Integer', 'hotState', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 20, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (621, '43', 'f_best_state', '精品', 'int', 'Integer', 'bestState', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 21, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (622, '43', 'f_new_state', '新品', 'int', 'Integer', 'newState', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 22, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (623, '43', 'f_show_time', '上架时间', 'datetime', 'Date', 'showTime', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'datetime', '', 23, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (624, '43', 'f_offline_time', '下架时间', 'datetime', 'Date', 'offlineTime', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'datetime', '', 24, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (625, '43', 'f_give_integral', '获得积分', 'decimal(8,2) unsigned', 'BigDecimal', 'giveIntegral', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 25, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (626, '43', 'f_ficti_num', '虚拟销量', 'int', 'Integer', 'fictiNum', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 26, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (627, '43', 'f_browse_num', '浏览量', 'int', 'Integer', 'browseNum', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 27, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (628, '43', 'f_qr_code_path', '海报二维码', 'varchar(200)', 'String', 'qrCodePath', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 28, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (629, '43', 'f_spec_type', '规格（0：无；1：1个；2：两个）', 'int', 'Integer', 'specType', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'select', '', 29, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (630, '43', 'f_first_spec_name', '规格一名称', 'varchar(200)', 'String', 'firstSpecName', '0', '0', '1', '1', '1', NULL, NULL, 'LIKE', 'input', '', 30, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (631, '43', 'f_second_spec_name', '规格二名称', 'varchar(200)', 'String', 'secondSpecName', '0', '0', '1', '1', '1', NULL, NULL, 'LIKE', 'input', '', 31, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (632, '43', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 32, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (633, '43', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', '1', 'BETWEEN', 'datetime', '', 33, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (634, '43', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 34, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (635, '43', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 35, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (636, '43', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 36, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (637, '43', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 37, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 03:51:53');
INSERT INTO `gen_table_column` VALUES (638, '44', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (639, '44', 'f_goods_id', '商品id', 'bigint', 'Long', 'goodsId', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (640, '44', 'f_spec_code', '规格编码', 'varchar(50)', 'String', 'specCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (641, '44', 'f_market_price', '市场价', 'decimal(10,2)', 'BigDecimal', 'marketPrice', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 4, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (642, '44', 'f_sale_price', '售价', 'decimal(10,2)', 'BigDecimal', 'salePrice', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (643, '44', 'f_vip_price', 'VIP价', 'decimal(10,2)', 'BigDecimal', 'vipPrice', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (644, '44', 'f_cost_price', '成本价', 'decimal(10,2)', 'BigDecimal', 'costPrice', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (645, '44', 'f_stock_num', '库存', 'int', 'Integer', 'stockNum', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (646, '44', 'f_sale_num', '销量', 'int', 'Integer', 'saleNum', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (647, '44', 'f_sort_num', '排序', 'int', 'Integer', 'sortNum', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (648, '44', 'f_first_spec_value', '规格一值', 'varchar(200)', 'String', 'firstSpecValue', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 11, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (649, '44', 'f_second_spec_value', '规格二值', 'varchar(200)', 'String', 'secondSpecValue', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 12, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (650, '44', 'f_main_img', '主图', 'varchar(200)', 'String', 'mainImg', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'imageUpload', '', 13, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (651, '44', 'f_banner_img', '轮播图', 'varchar(2000)', 'String', 'bannerImg', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'imageUpload', '', 14, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (652, '44', 'f_state', '状态 （0：停用；1：启用）', 'int', 'Integer', 'state', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 15, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (653, '44', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 16, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (654, '44', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 17, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (655, '44', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 18, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (656, '44', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 19, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (657, '44', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 20, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (658, '44', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', '1', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 21, 'admin', '2022-03-19 03:25:30', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (659, '43', 'f_goods_name', '商品名称', 'varchar(100)', 'String', 'goodsName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 5, '', '2022-03-19 03:40:11', '', '2022-03-19 03:51:52');
INSERT INTO `gen_table_column` VALUES (660, '44', 'f_goods_code', '商品编码', 'varchar(50)', 'String', 'goodsCode', '0', '0', '1', NULL, NULL, '1', '1', 'EQ', 'input', '', 3, '', '2022-03-19 09:49:08', '', '2022-03-19 10:16:22');
INSERT INTO `gen_table_column` VALUES (661, '45', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (662, '45', 'f_brand_name', '品牌名称', 'varchar(100)', 'String', 'brandName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (663, '45', 'f_sort_num', '排序', 'int', 'Integer', 'sortNum', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 3, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (664, '45', 'f_logo', 'logo', 'varchar(200)', 'String', 'logo', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (665, '45', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 5, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (666, '45', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, '1', NULL, '1', NULL, 'EQ', 'datetime', '', 6, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (667, '45', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (668, '45', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 8, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (669, '45', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (670, '45', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:34:01');
INSERT INTO `gen_table_column` VALUES (671, '46', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (672, '46', 'f_parent_id', '父id', 'bigint', 'Long', 'parentId', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (673, '46', 'f_category_name', '分类名称', 'varchar(100)', 'String', 'categoryName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (674, '46', 'f_sort_num', '排序', 'int', 'Integer', 'sortNum', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 4, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (675, '46', 'f_pic', '图标', 'varchar(200)', 'String', 'pic', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 5, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (676, '46', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (677, '46', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 7, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (678, '46', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (679, '46', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 9, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (680, '46', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (681, '46', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-03-19 10:32:49', '', '2022-03-19 10:36:09');
INSERT INTO `gen_table_column` VALUES (682, '47', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (683, '47', 'f_app_id', 'appId', 'bigint', 'Long', 'appId', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 2, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (684, '47', 'f_advert_code', '广告编码', 'varchar(50)', 'String', 'advertCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (685, '47', 'f_title', '标题', 'varchar(50)', 'String', 'title', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (686, '47', 'f_advert_img', '广告图', 'varchar(200)', 'String', 'advertImg', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (687, '47', 'f_skip_url', '跳转url', 'varchar(200)', 'String', 'skipUrl', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 6, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (688, '47', 'f_sort_num', '排序', 'int', 'Integer', 'sortNum', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'input', '', 7, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (689, '47', 'f_status', '状态（1：启用；2：停用）', 'int', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', 'sys_normal_disable', 8, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (690, '47', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (691, '47', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 10, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (692, '47', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (693, '47', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 12, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (694, '47', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (695, '47', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:54:36');
INSERT INTO `gen_table_column` VALUES (696, '48', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (697, '48', 'f_advert_name', '名称', 'varchar(50)', 'String', 'advertName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (698, '48', 'f_advert_code', '编码', 'varchar(50)', 'String', 'advertCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (699, '48', 'f_advert_width', '宽', 'int', 'Integer', 'advertWidth', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (700, '48', 'f_advert_height', '高', 'int', 'Integer', 'advertHeight', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (701, '48', 'f_advert_desc', '描述', 'varchar(255)', 'String', 'advertDesc', '0', '0', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (702, '48', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 7, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (703, '48', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 8, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (704, '48', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (705, '48', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 10, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (706, '48', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (707, '48', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 'admin', '2022-03-20 05:48:11', '', '2022-03-20 05:50:30');
INSERT INTO `gen_table_column` VALUES (708, '49', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (709, '49', 'f_app_id', 'appId', 'bigint', 'Long', 'appId', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 2, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (710, '49', 'f_location_code', '位置编码', 'varchar(50)', 'String', 'locationCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (711, '49', 'f_article_type', '文章类型', 'int', 'Integer', 'articleType', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'select', '', 4, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (712, '49', 'f_title', '标题', 'varchar(50)', 'String', 'title', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 5, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (713, '49', 'f_content', '内容', 'text', 'String', 'content', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'editor', '', 6, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (714, '49', 'f_sort_num', '排序', 'int', 'Integer', 'sortNum', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 7, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (715, '49', 'f_status', '状态（1：启用；2：停用）', 'int', 'Integer', 'status', '0', '0', NULL, '1', '1', '1', '1', 'EQ', 'radio', '', 8, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (716, '49', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (717, '49', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 10, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (718, '49', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (719, '49', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 12, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (720, '49', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (721, '49', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 08:00:16');
INSERT INTO `gen_table_column` VALUES (722, '50', 'f_id', 'id', 'bigint', 'Long', 'id', '1', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (723, '50', 'f_article_name', '名称', 'varchar(50)', 'String', 'articleName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (724, '50', 'f_location_code', '位置编码', 'varchar(50)', 'String', 'locationCode', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (725, '50', 'f_remark', '备注', 'varchar(200)', 'String', 'remark', '0', '0', NULL, '1', '1', '1', NULL, 'EQ', 'input', '', 4, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (726, '50', 'f_create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', NULL, NULL, NULL, '1', NULL, 'EQ', 'datetime', '', 5, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (727, '50', 'f_create_by', '创建人', 'varchar(64)', 'String', 'createBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (728, '50', 'f_update_time', '修改时间', 'datetime', 'Date', 'updateTime', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 7, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (729, '50', 'f_update_by', '修改人', 'varchar(64)', 'String', 'updateBy', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
INSERT INTO `gen_table_column` VALUES (730, '50', 'f_yn', '0无效1有效', 'tinyint', 'Integer', 'yn', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 'admin', '2022-03-20 07:56:45', '', '2022-03-20 07:58:00');
COMMIT;

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `config_id` int NOT NULL AUTO_INCREMENT COMMENT '参数主键',
  `config_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='参数配置表';

-- ----------------------------
-- Records of sys_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_config` VALUES (1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 'admin', '2022-01-12 12:13:44', '', NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` VALUES (2, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 'admin', '2022-01-12 12:13:44', '', NULL, '初始化密码 123456');
INSERT INTO `sys_config` VALUES (3, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 'admin', '2022-01-12 12:13:44', '', NULL, '深色主题theme-dark，浅色主题theme-light');
INSERT INTO `sys_config` VALUES (4, '账号自助-验证码开关', 'sys.account.captchaOnOff', 'true', 'Y', 'admin', '2022-01-12 12:13:44', '', NULL, '是否开启验证码功能（true开启，false关闭）');
INSERT INTO `sys_config` VALUES (5, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 'admin', '2022-01-12 12:13:44', '', NULL, '是否开启注册用户功能（true开启，false关闭）');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `dept_id` bigint NOT NULL AUTO_INCREMENT COMMENT '部门id',
  `parent_id` bigint DEFAULT '0' COMMENT '父部门id',
  `ancestors` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '部门名称',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `leader` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '邮箱',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='部门表';

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_dept` VALUES (100, 0, '0', 'RY公司', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
INSERT INTO `sys_dept` VALUES (109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint NOT NULL AUTO_INCREMENT COMMENT '字典编码',
  `dict_sort` int DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=108 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='字典数据表';

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_data` VALUES (1, 1, '男', '0', 'sys_user_sex', '', '', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '性别男');
INSERT INTO `sys_dict_data` VALUES (2, 2, '女', '1', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '性别女');
INSERT INTO `sys_dict_data` VALUES (3, 3, '未知', '2', 'sys_user_sex', '', '', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '性别未知');
INSERT INTO `sys_dict_data` VALUES (4, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '显示菜单');
INSERT INTO `sys_dict_data` VALUES (5, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` VALUES (6, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (7, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (8, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (9, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (10, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '默认分组');
INSERT INTO `sys_dict_data` VALUES (11, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '系统分组');
INSERT INTO `sys_dict_data` VALUES (12, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '系统默认是');
INSERT INTO `sys_dict_data` VALUES (13, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '系统默认否');
INSERT INTO `sys_dict_data` VALUES (14, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '通知');
INSERT INTO `sys_dict_data` VALUES (15, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '公告');
INSERT INTO `sys_dict_data` VALUES (16, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (17, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '关闭状态');
INSERT INTO `sys_dict_data` VALUES (18, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '新增操作');
INSERT INTO `sys_dict_data` VALUES (19, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '修改操作');
INSERT INTO `sys_dict_data` VALUES (20, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '删除操作');
INSERT INTO `sys_dict_data` VALUES (21, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '授权操作');
INSERT INTO `sys_dict_data` VALUES (22, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-01-12 12:13:44', '', NULL, '导出操作');
INSERT INTO `sys_dict_data` VALUES (23, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-01-12 12:13:44', '', NULL, '导入操作');
INSERT INTO `sys_dict_data` VALUES (24, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:44', '', NULL, '强退操作');
INSERT INTO `sys_dict_data` VALUES (25, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', '0', 'admin', '2022-01-12 12:13:44', '', NULL, '生成操作');
INSERT INTO `sys_dict_data` VALUES (26, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:44', '', NULL, '清空操作');
INSERT INTO `sys_dict_data` VALUES (27, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', '0', 'admin', '2022-01-12 12:13:44', '', NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (28, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', '0', 'admin', '2022-01-12 12:13:44', '', NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (100, 0, '未上线', '0', 'activity_status', NULL, 'primary', 'N', '0', 'admin', '2022-02-16 14:02:25', 'admin', '2022-02-16 14:03:50', NULL);
INSERT INTO `sys_dict_data` VALUES (101, 0, '已上线', '1', 'activity_status', NULL, 'success', 'N', '0', 'admin', '2022-02-16 14:02:45', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (102, 2, '已结束', '2', 'activity_status', NULL, 'info', 'N', '0', 'admin', '2022-02-16 14:03:25', 'admin', '2022-02-16 14:03:59', NULL);
INSERT INTO `sys_dict_data` VALUES (105, 0, '已发送', '0', 'sms_log_send_status', NULL, 'info', 'N', '0', 'admin', '2022-03-13 11:40:41', 'admin', '2022-03-13 11:41:42', NULL);
INSERT INTO `sys_dict_data` VALUES (106, 1, '成功', '1', 'sms_log_send_status', NULL, 'success', 'N', '0', 'admin', '2022-03-13 11:41:01', '', NULL, NULL);
INSERT INTO `sys_dict_data` VALUES (107, 2, '失败', '2', 'sms_log_send_status', NULL, 'danger', 'N', '0', 'admin', '2022-03-13 11:41:22', '', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint NOT NULL AUTO_INCREMENT COMMENT '字典主键',
  `dict_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '字典类型',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`) USING BTREE,
  UNIQUE KEY `dict_type` (`dict_type`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=106 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='字典类型表';

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_type` VALUES (1, '用户性别', 'sys_user_sex', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '用户性别列表');
INSERT INTO `sys_dict_type` VALUES (2, '菜单状态', 'sys_show_hide', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '菜单状态列表');
INSERT INTO `sys_dict_type` VALUES (3, '系统开关', 'sys_normal_disable', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '系统开关列表');
INSERT INTO `sys_dict_type` VALUES (4, '任务状态', 'sys_job_status', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '任务状态列表');
INSERT INTO `sys_dict_type` VALUES (5, '任务分组', 'sys_job_group', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '任务分组列表');
INSERT INTO `sys_dict_type` VALUES (6, '系统是否', 'sys_yes_no', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '系统是否列表');
INSERT INTO `sys_dict_type` VALUES (7, '通知类型', 'sys_notice_type', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '通知类型列表');
INSERT INTO `sys_dict_type` VALUES (8, '通知状态', 'sys_notice_status', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '通知状态列表');
INSERT INTO `sys_dict_type` VALUES (9, '操作类型', 'sys_oper_type', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '操作类型列表');
INSERT INTO `sys_dict_type` VALUES (10, '系统状态', 'sys_common_status', '0', 'admin', '2022-01-12 12:13:43', '', NULL, '登录状态列表');
INSERT INTO `sys_dict_type` VALUES (100, '测试字典1', 'test_dict_1', '0', 'admin', '2022-01-13 02:00:48', '', NULL, '测试字典1');
INSERT INTO `sys_dict_type` VALUES (101, '测试时间timezone', 'timezone_type', '0', 'admin', '2022-01-13 03:49:09', '', NULL, '测试时间timezone');
INSERT INTO `sys_dict_type` VALUES (102, '测试时间区域', 'tz_1', '0', 'admin', '2022-01-13 12:31:09', '', '2022-01-13 12:31:09', '测试时间区域');
INSERT INTO `sys_dict_type` VALUES (103, '活动状态', 'activity_status', '0', 'admin', '2022-02-16 22:01:33', '', '2022-02-16 22:01:33', '活动状态');
INSERT INTO `sys_dict_type` VALUES (105, '短信发送状态', 'sms_log_send_status', '0', 'admin', '2022-03-13 19:39:55', '', '2022-03-13 19:39:55', '短信发送状态');
COMMIT;

-- ----------------------------
-- Table structure for sys_job
-- ----------------------------
DROP TABLE IF EXISTS `sys_job`;
CREATE TABLE `sys_job` (
  `job_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务ID',
  `job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '任务名称',
  `job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名',
  `invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '调用目标字符串',
  `cron_expression` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT 'cron执行表达式',
  `misfire_policy` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '3' COMMENT '计划执行错误策略（1立即执行 2执行一次 3放弃执行）',
  `concurrent` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '1' COMMENT '是否并发执行（0允许 1禁止）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态（0正常 1暂停）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注信息',
  PRIMARY KEY (`job_id`,`job_name`,`job_group`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='定时任务调度表';

-- ----------------------------
-- Records of sys_job
-- ----------------------------
BEGIN;
INSERT INTO `sys_job` VALUES (1, '系统默认（无参）', 'DEFAULT', 'ryTask.ryNoParams', '0/10 * * * * ?', '3', '1', '1', 'admin', '2022-01-12 12:13:44', '', NULL, '');
INSERT INTO `sys_job` VALUES (2, '系统默认（有参）', 'DEFAULT', 'ryTask.ryParams(\'ry\')', '0/15 * * * * ?', '3', '1', '1', 'admin', '2022-01-12 12:13:44', '', NULL, '');
INSERT INTO `sys_job` VALUES (3, '系统默认（多参）', 'DEFAULT', 'ryTask.ryMultipleParams(\'ry\', true, 2000L, 316.50D, 100)', '0/20 * * * * ?', '3', '1', '1', 'admin', '2022-01-12 12:13:44', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_job_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_job_log`;
CREATE TABLE `sys_job_log` (
  `job_log_id` bigint NOT NULL AUTO_INCREMENT COMMENT '任务日志ID',
  `job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '任务名称',
  `job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '任务组名',
  `invoke_target` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '调用目标字符串',
  `job_message` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '日志信息',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '执行状态（0正常 1失败）',
  `exception_info` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '异常信息',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`job_log_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='定时任务调度日志表';

-- ----------------------------
-- Records of sys_job_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_logininfor
-- ----------------------------
DROP TABLE IF EXISTS `sys_logininfor`;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint NOT NULL AUTO_INCREMENT COMMENT '访问ID',
  `user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '用户账号',
  `ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '操作系统',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '提示消息',
  `login_time` datetime DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='系统访问记录';

-- ----------------------------
-- Records of sys_logininfor
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `menu_id` bigint NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '菜单名称',
  `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '组件路径',
  `query` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '路由参数',
  `is_frame` int DEFAULT '1' COMMENT '是否为外链（0是 1否）',
  `is_cache` int DEFAULT '0' COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '菜单状态（0显示 1隐藏）',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '#' COMMENT '菜单图标',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2095 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='菜单权限表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` VALUES (1, '系统管理', 0, 1, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 'admin', '2022-01-12 12:13:41', 'admin', '2022-01-13 07:53:25', '系统管理目录');
INSERT INTO `sys_menu` VALUES (2, '系统监控', 0, 2, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', '2022-01-12 12:13:41', '', NULL, '系统监控目录');
INSERT INTO `sys_menu` VALUES (3, '系统工具', 0, 3, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', '2022-01-12 12:13:41', '', NULL, '系统工具目录');
INSERT INTO `sys_menu` VALUES (4, '若依官网', 0, 99, 'http://ruoyi.vip', NULL, '', 0, 0, 'M', '0', '0', '', 'guide', 'admin', '2022-01-12 12:13:41', 'admin', '2022-03-13 04:32:08', '若依官网地址');
INSERT INTO `sys_menu` VALUES (6, '内容管理', 0, 8, '/cms', NULL, '', 1, 0, 'M', '0', '0', '', 'guide', 'admin', '2022-02-15 12:13:41', 'admin', '2022-03-19 03:32:54', '志愿者管理');
INSERT INTO `sys_menu` VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', '2022-01-12 12:13:41', '', NULL, '用户管理菜单');
INSERT INTO `sys_menu` VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', '2022-01-12 12:13:41', '', NULL, '角色管理菜单');
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 'admin', '2022-01-12 12:13:41', '', NULL, '菜单管理菜单');
INSERT INTO `sys_menu` VALUES (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 'admin', '2022-01-12 12:13:41', '', NULL, '部门管理菜单');
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 'admin', '2022-01-12 12:13:41', '', NULL, '岗位管理菜单');
INSERT INTO `sys_menu` VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 'admin', '2022-01-12 12:13:42', '', NULL, '字典管理菜单');
INSERT INTO `sys_menu` VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 'admin', '2022-01-12 12:13:42', '', NULL, '参数设置菜单');
INSERT INTO `sys_menu` VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 'admin', '2022-01-12 12:13:42', '', NULL, '通知公告菜单');
INSERT INTO `sys_menu` VALUES (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 'admin', '2022-01-12 12:13:42', '', NULL, '日志管理菜单');
INSERT INTO `sys_menu` VALUES (109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 'admin', '2022-01-12 12:13:42', '', NULL, '在线用户菜单');
INSERT INTO `sys_menu` VALUES (110, '定时任务', 2, 2, 'job', 'monitor/job/index', '', 1, 0, 'C', '0', '0', 'monitor:job:list', 'job', 'admin', '2022-01-12 12:13:42', '', NULL, '定时任务菜单');
INSERT INTO `sys_menu` VALUES (111, '数据监控', 2, 3, 'druid', 'monitor/druid/index', '', 1, 0, 'C', '0', '0', 'monitor:druid:list', 'druid', 'admin', '2022-01-12 12:13:42', '', NULL, '数据监控菜单');
INSERT INTO `sys_menu` VALUES (112, '服务监控', 2, 4, 'server', 'monitor/server/index', '', 1, 0, 'C', '0', '0', 'monitor:server:list', 'server', 'admin', '2022-01-12 12:13:42', '', NULL, '服务监控菜单');
INSERT INTO `sys_menu` VALUES (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 'admin', '2022-01-12 12:13:42', '', NULL, '缓存监控菜单');
INSERT INTO `sys_menu` VALUES (114, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 'admin', '2022-01-12 12:13:42', '', NULL, '表单构建菜单');
INSERT INTO `sys_menu` VALUES (115, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 'admin', '2022-01-12 12:13:42', '', NULL, '代码生成菜单');
INSERT INTO `sys_menu` VALUES (116, '系统接口', 3, 3, 'swagger', 'tool/swagger/index', '', 1, 0, 'C', '0', '0', 'tool:swagger:list', 'swagger', 'admin', '2022-01-12 12:13:42', '', NULL, '系统接口菜单');
INSERT INTO `sys_menu` VALUES (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 'admin', '2022-01-12 12:13:42', '', NULL, '操作日志菜单');
INSERT INTO `sys_menu` VALUES (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 'admin', '2022-01-12 12:13:42', '', NULL, '登录日志菜单');
INSERT INTO `sys_menu` VALUES (1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1017, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1018, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1019, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1020, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1021, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1022, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1023, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1024, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1025, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1026, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1027, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1028, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1029, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1030, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1031, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1032, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1033, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1034, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1035, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1036, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1037, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1038, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1039, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1040, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1041, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1042, '日志导出', 500, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1043, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1044, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1045, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1046, '在线查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1047, '批量强退', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1048, '单条强退', 109, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1049, '任务查询', 110, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1050, '任务新增', 110, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:add', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1051, '任务修改', 110, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1052, '任务删除', 110, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1053, '状态修改', 110, 5, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:changeStatus', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1054, '任务导出', 110, 7, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:job:export', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1055, '生成查询', 115, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1056, '生成修改', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1057, '生成删除', 115, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1058, '导入代码', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1059, '预览代码', 115, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
INSERT INTO `sys_menu` VALUES (1060, '生成代码', 115, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 'admin', '2022-01-12 12:13:42', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice` (
  `notice_id` int NOT NULL AUTO_INCREMENT COMMENT '公告ID',
  `notice_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '公告标题',
  `notice_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` longblob COMMENT '公告内容',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='通知公告表';

-- ----------------------------
-- Records of sys_notice
-- ----------------------------
BEGIN;
INSERT INTO `sys_notice` VALUES (1, '温馨提醒：2018-07-01 若依新版本发布啦', '2', 0xE696B0E78988E69CACE58685E5AEB9, '0', 'admin', '2022-01-12 12:13:44', '', NULL, '管理员');
INSERT INTO `sys_notice` VALUES (2, '维护通知：2018-07-01 若依系统凌晨维护', '1', 0xE7BBB4E68AA4E58685E5AEB9, '0', 'admin', '2022-01-12 12:13:44', '', NULL, '管理员');
COMMIT;

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint NOT NULL AUTO_INCREMENT COMMENT '日志主键',
  `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '模块标题',
  `business_type` int DEFAULT '0' COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '请求方式',
  `operator_type` int DEFAULT '0' COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '返回参数',
  `status` int DEFAULT '0' COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime DEFAULT NULL COMMENT '操作时间',
  PRIMARY KEY (`oper_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='操作日志记录';

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post` (
  `post_id` bigint NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
  `post_code` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '岗位编码',
  `post_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '岗位名称',
  `post_sort` int NOT NULL COMMENT '显示顺序',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '状态（0正常 1停用）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='岗位信息表';

-- ----------------------------
-- Records of sys_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_post` VALUES (1, 'ceo', '董事长', 1, '0', 'admin', '2022-01-12 12:13:41', '', NULL, '');
INSERT INTO `sys_post` VALUES (2, 'se', '项目经理', 2, '0', 'admin', '2022-01-12 12:13:41', '', NULL, '');
INSERT INTO `sys_post` VALUES (3, 'hr', '人力资源', 3, '0', 'admin', '2022-01-12 12:13:41', '', NULL, '');
INSERT INTO `sys_post` VALUES (4, 'user', '普通员工', 4, '0', 'admin', '2022-01-12 12:13:41', '', NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `role_id` bigint NOT NULL AUTO_INCREMENT COMMENT '角色ID',
  `role_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '角色权限字符串',
  `role_sort` int NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `menu_check_strictly` tinyint(1) DEFAULT '1' COMMENT '菜单树选择项是否关联显示',
  `dept_check_strictly` tinyint(1) DEFAULT '1' COMMENT '部门树选择项是否关联显示',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` VALUES (1, '超级管理员', 'admin', 1, '1', 1, 1, '0', '0', 'admin', '2022-01-12 12:13:41', '', NULL, '超级管理员');
INSERT INTO `sys_role` VALUES (2, '普通角色', 'common', 2, '2', 1, 1, '0', '0', 'admin', '2022-01-12 12:13:41', 'admin', '2022-01-22 06:56:06', '普通角色');
COMMIT;

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `dept_id` bigint NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`,`dept_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='角色和部门关联表';

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_dept` VALUES (2, 100);
INSERT INTO `sys_role_dept` VALUES (2, 101);
INSERT INTO `sys_role_dept` VALUES (2, 105);
COMMIT;

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `menu_id` bigint NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='角色和菜单关联表';

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_menu` VALUES (2, 1);
INSERT INTO `sys_role_menu` VALUES (2, 2);
INSERT INTO `sys_role_menu` VALUES (2, 3);
INSERT INTO `sys_role_menu` VALUES (2, 4);
INSERT INTO `sys_role_menu` VALUES (2, 100);
INSERT INTO `sys_role_menu` VALUES (2, 101);
INSERT INTO `sys_role_menu` VALUES (2, 102);
INSERT INTO `sys_role_menu` VALUES (2, 103);
INSERT INTO `sys_role_menu` VALUES (2, 104);
INSERT INTO `sys_role_menu` VALUES (2, 105);
INSERT INTO `sys_role_menu` VALUES (2, 106);
INSERT INTO `sys_role_menu` VALUES (2, 107);
INSERT INTO `sys_role_menu` VALUES (2, 108);
INSERT INTO `sys_role_menu` VALUES (2, 109);
INSERT INTO `sys_role_menu` VALUES (2, 110);
INSERT INTO `sys_role_menu` VALUES (2, 111);
INSERT INTO `sys_role_menu` VALUES (2, 112);
INSERT INTO `sys_role_menu` VALUES (2, 113);
INSERT INTO `sys_role_menu` VALUES (2, 114);
INSERT INTO `sys_role_menu` VALUES (2, 115);
INSERT INTO `sys_role_menu` VALUES (2, 116);
INSERT INTO `sys_role_menu` VALUES (2, 500);
INSERT INTO `sys_role_menu` VALUES (2, 501);
INSERT INTO `sys_role_menu` VALUES (2, 1001);
INSERT INTO `sys_role_menu` VALUES (2, 1002);
INSERT INTO `sys_role_menu` VALUES (2, 1003);
INSERT INTO `sys_role_menu` VALUES (2, 1004);
INSERT INTO `sys_role_menu` VALUES (2, 1005);
INSERT INTO `sys_role_menu` VALUES (2, 1006);
INSERT INTO `sys_role_menu` VALUES (2, 1007);
INSERT INTO `sys_role_menu` VALUES (2, 1008);
INSERT INTO `sys_role_menu` VALUES (2, 1009);
INSERT INTO `sys_role_menu` VALUES (2, 1010);
INSERT INTO `sys_role_menu` VALUES (2, 1011);
INSERT INTO `sys_role_menu` VALUES (2, 1012);
INSERT INTO `sys_role_menu` VALUES (2, 1013);
INSERT INTO `sys_role_menu` VALUES (2, 1014);
INSERT INTO `sys_role_menu` VALUES (2, 1015);
INSERT INTO `sys_role_menu` VALUES (2, 1016);
INSERT INTO `sys_role_menu` VALUES (2, 1017);
INSERT INTO `sys_role_menu` VALUES (2, 1018);
INSERT INTO `sys_role_menu` VALUES (2, 1019);
INSERT INTO `sys_role_menu` VALUES (2, 1020);
INSERT INTO `sys_role_menu` VALUES (2, 1021);
INSERT INTO `sys_role_menu` VALUES (2, 1022);
INSERT INTO `sys_role_menu` VALUES (2, 1023);
INSERT INTO `sys_role_menu` VALUES (2, 1024);
INSERT INTO `sys_role_menu` VALUES (2, 1025);
INSERT INTO `sys_role_menu` VALUES (2, 1026);
INSERT INTO `sys_role_menu` VALUES (2, 1027);
INSERT INTO `sys_role_menu` VALUES (2, 1028);
INSERT INTO `sys_role_menu` VALUES (2, 1029);
INSERT INTO `sys_role_menu` VALUES (2, 1030);
INSERT INTO `sys_role_menu` VALUES (2, 1031);
INSERT INTO `sys_role_menu` VALUES (2, 1032);
INSERT INTO `sys_role_menu` VALUES (2, 1033);
INSERT INTO `sys_role_menu` VALUES (2, 1034);
INSERT INTO `sys_role_menu` VALUES (2, 1035);
INSERT INTO `sys_role_menu` VALUES (2, 1036);
INSERT INTO `sys_role_menu` VALUES (2, 1037);
INSERT INTO `sys_role_menu` VALUES (2, 1038);
INSERT INTO `sys_role_menu` VALUES (2, 1039);
INSERT INTO `sys_role_menu` VALUES (2, 1040);
INSERT INTO `sys_role_menu` VALUES (2, 1041);
INSERT INTO `sys_role_menu` VALUES (2, 1042);
INSERT INTO `sys_role_menu` VALUES (2, 1043);
INSERT INTO `sys_role_menu` VALUES (2, 1044);
INSERT INTO `sys_role_menu` VALUES (2, 1045);
INSERT INTO `sys_role_menu` VALUES (2, 1046);
INSERT INTO `sys_role_menu` VALUES (2, 1047);
INSERT INTO `sys_role_menu` VALUES (2, 1048);
INSERT INTO `sys_role_menu` VALUES (2, 1049);
INSERT INTO `sys_role_menu` VALUES (2, 1050);
INSERT INTO `sys_role_menu` VALUES (2, 1051);
INSERT INTO `sys_role_menu` VALUES (2, 1052);
INSERT INTO `sys_role_menu` VALUES (2, 1053);
INSERT INTO `sys_role_menu` VALUES (2, 1054);
INSERT INTO `sys_role_menu` VALUES (2, 1055);
INSERT INTO `sys_role_menu` VALUES (2, 1056);
INSERT INTO `sys_role_menu` VALUES (2, 1057);
INSERT INTO `sys_role_menu` VALUES (2, 1058);
INSERT INTO `sys_role_menu` VALUES (2, 1059);
INSERT INTO `sys_role_menu` VALUES (2, 1060);
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `user_id` bigint NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `dept_id` bigint DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '用户昵称',
  `user_type` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '00' COMMENT '用户类型（00系统用户）',
  `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '手机号码',
  `sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '头像地址',
  `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '密码',
  `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
  `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=100 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` VALUES (1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2022-07-17 18:47:07', 'admin', '2022-01-12 12:13:41', '', '2022-07-17 10:47:07', '管理员');
INSERT INTO `sys_user` VALUES (2, 105, 'ry', '若依', '00', 'ry@qq.com', '15666666666', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2022-01-12 12:13:41', 'admin', '2022-01-12 12:13:41', 'admin', '2022-01-22 06:53:52', '测试员');
COMMIT;

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`,`post_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='用户与岗位关联表';

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_post` VALUES (1, 1);
INSERT INTO `sys_user_post` VALUES (2, 2);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `role_id` bigint NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='用户和角色关联表';

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_role` VALUES (1, 1);
INSERT INTO `sys_user_role` VALUES (2, 2);
COMMIT;

-- ----------------------------
-- Table structure for t_advert_item
-- ----------------------------
DROP TABLE IF EXISTS `t_advert_item`;
CREATE TABLE `t_advert_item` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_app_id` bigint NOT NULL DEFAULT '0' COMMENT 'appId',
  `f_advert_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '广告编码',
  `f_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '标题',
  `f_advert_img` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '广告图',
  `f_skip_url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '跳转url',
  `f_sort_num` int NOT NULL DEFAULT '0' COMMENT '排序',
  `f_status` int NOT NULL DEFAULT '1' COMMENT '状态（1：启用；2：停用）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_advert_code` (`f_advert_code`) USING BTREE,
  KEY `idx_create_time` (`f_create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='广告';

-- ----------------------------
-- Records of t_advert_item
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_advert_location
-- ----------------------------
DROP TABLE IF EXISTS `t_advert_location`;
CREATE TABLE `t_advert_location` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_advert_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '名称',
  `f_advert_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '编码',
  `f_advert_width` int DEFAULT NULL COMMENT '宽',
  `f_advert_height` int DEFAULT NULL COMMENT '高',
  `f_advert_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '描述',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `f_advert_code` (`f_advert_code`) USING BTREE,
  KEY `f_create_time` (`f_create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='广告位';

-- ----------------------------
-- Records of t_advert_location
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_app_config
-- ----------------------------
DROP TABLE IF EXISTS `t_app_config`;
CREATE TABLE `t_app_config` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_company_id` bigint NOT NULL DEFAULT '0' COMMENT '公司id',
  `f_app_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'app名称',
  `f_app_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT 'app编码',
  `f_wx_appid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '微信appid',
  `f_wx_secret` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '微信secret',
  `f_app_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT 'app url',
  `f_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '简介',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `f_app_code` (`f_app_code`) USING BTREE,
  KEY `f_wx_appid` (`f_wx_appid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='app配置';

-- ----------------------------
-- Records of t_app_config
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_article_item
-- ----------------------------
DROP TABLE IF EXISTS `t_article_item`;
CREATE TABLE `t_article_item` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_app_id` bigint NOT NULL DEFAULT '0' COMMENT 'appId',
  `f_location_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '位置编码',
  `f_article_type` int NOT NULL DEFAULT '0' COMMENT '文章类型',
  `f_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '标题',
  `f_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '内容',
  `f_sort_num` int NOT NULL DEFAULT '0' COMMENT '排序',
  `f_status` int NOT NULL DEFAULT '1' COMMENT '状态（1：启用；2：停用）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `f_location_code` (`f_location_code`) USING BTREE,
  KEY `idx_create_time` (`f_create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='文章';

-- ----------------------------
-- Records of t_article_item
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_article_location
-- ----------------------------
DROP TABLE IF EXISTS `t_article_location`;
CREATE TABLE `t_article_location` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_article_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '名称',
  `f_location_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '位置编码',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `f_location_code` (`f_location_code`) USING BTREE,
  KEY `f_create_time` (`f_create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='文章位置';

-- ----------------------------
-- Records of t_article_location
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_brand
-- ----------------------------
DROP TABLE IF EXISTS `t_brand`;
CREATE TABLE `t_brand` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_brand_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '品牌名称',
  `f_brand_name_en` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '英文名称',
  `f_sort_num` int NOT NULL DEFAULT '0' COMMENT '排序',
  `f_logo` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT 'logo',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  `f_tenant_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '0' COMMENT '租户',
  PRIMARY KEY (`f_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='品牌';

-- ----------------------------
-- Records of t_brand
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_category
-- ----------------------------
DROP TABLE IF EXISTS `t_category`;
CREATE TABLE `t_category` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_parent_id` bigint NOT NULL DEFAULT '0' COMMENT '父id',
  `f_category_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '分类名称',
  `f_ancestors` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '祖级列表',
  `f_sort_num` int NOT NULL DEFAULT '0' COMMENT '排序',
  `f_pic` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '图标',
  `f_front_show` int NOT NULL DEFAULT '1' COMMENT '前端显示',
  `f_status` int NOT NULL DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  `f_tenant_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '0' COMMENT '租户',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_parent_id` (`f_parent_id`) USING BTREE,
  KEY `f_tenant_id` (`f_tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='分类';

-- ----------------------------
-- Records of t_category
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_coupon
-- ----------------------------
DROP TABLE IF EXISTS `t_coupon`;
CREATE TABLE `t_coupon` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_user_id` bigint NOT NULL DEFAULT '0' COMMENT '用户id',
  `f_coupon_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '编码',
  `f_coupon_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '标题',
  `f_coupon_type` int NOT NULL DEFAULT '0' COMMENT '类型',
  `f_coupon_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '优惠金额',
  `f_limit_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '限制金额',
  `f_expire_start_time` datetime DEFAULT NULL COMMENT '开始时间',
  `f_expire_end_time` datetime DEFAULT NULL COMMENT '结束时间',
  `f_status` int NOT NULL DEFAULT '1' COMMENT '状态 (1：启用；2：停用；)',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_user_id` (`f_user_id`) USING BTREE,
  KEY `idx_coupon_code` (`f_coupon_code`) USING BTREE,
  KEY `idx_expire_end_time` (`f_expire_end_time`) USING BTREE,
  KEY `idx_expire_start_time` (`f_expire_start_time`) USING BTREE,
  KEY `idx_create_time` (`f_create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='优惠券';

-- ----------------------------
-- Records of t_coupon
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_coupon_rule
-- ----------------------------
DROP TABLE IF EXISTS `t_coupon_rule`;
CREATE TABLE `t_coupon_rule` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_coupon_rule_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '规则名称',
  `f_coupon_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '编码',
  `f_coupon_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '标题',
  `f_coupon_type` int NOT NULL DEFAULT '0' COMMENT '类型',
  `f_coupon_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '优惠金额',
  `f_limit_money` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '限制金额',
  `f_expire_type` int NOT NULL DEFAULT '0' COMMENT '过期类型（0：领后；1：固定；）',
  `f_expire_day` int NOT NULL DEFAULT '0' COMMENT '过期天数',
  `f_expire_start_time` datetime DEFAULT NULL COMMENT '开始时间',
  `f_expire_end_time` datetime DEFAULT NULL COMMENT '结束时间',
  `f_status` int NOT NULL DEFAULT '1' COMMENT '状态 (1：启用；2：停用；)',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_coupon_code` (`f_coupon_code`) USING BTREE,
  KEY `idx_create_time` (`f_create_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='优惠券规则';

-- ----------------------------
-- Records of t_coupon_rule
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_goods
-- ----------------------------
DROP TABLE IF EXISTS `t_goods`;
CREATE TABLE `t_goods` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_merchant_id` bigint DEFAULT '0' COMMENT '商户Id',
  `f_store_id` bigint DEFAULT '0' COMMENT '店铺Id',
  `f_store_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '店铺名称',
  `f_goods_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '商品名称',
  `f_goods_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '商品编码',
  `f_bar_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '产品条码',
  `f_goods_title` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '商品简介',
  `f_keyword` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '关键字',
  `f_category_id` bigint NOT NULL DEFAULT '0' COMMENT '分类id',
  `f_category_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '分类名称',
  `f_category_path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '分类路径',
  `f_brand_id` bigint NOT NULL DEFAULT '0' COMMENT '品牌id',
  `f_brand_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '品牌名称',
  `f_goods_img` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '主图',
  `f_goods_detail` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '商品详情',
  `f_freight_template_id` bigint NOT NULL DEFAULT '0' COMMENT '运费模板 ',
  `f_unit_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '单位名称',
  `f_sort_num` int DEFAULT '0' COMMENT '排序',
  `f_sale_num` int unsigned DEFAULT '0' COMMENT '销量',
  `f_show_state` int DEFAULT '0' COMMENT '状态（0：未上架，1：上架）',
  `f_hot_state` int DEFAULT '0' COMMENT '热卖',
  `f_best_state` int DEFAULT '0' COMMENT '精品',
  `f_new_state` int DEFAULT '0' COMMENT '新品',
  `f_show_time` datetime DEFAULT NULL COMMENT '上架时间',
  `f_offline_time` datetime DEFAULT NULL COMMENT '下架时间',
  `f_give_integral` decimal(8,2) unsigned DEFAULT NULL COMMENT '获得积分',
  `f_ficti_num` int DEFAULT '0' COMMENT '虚拟销量',
  `f_browse_num` int DEFAULT '0' COMMENT '浏览量',
  `f_qr_code_path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '海报二维码',
  `f_spec_type` int DEFAULT '0' COMMENT '规格（0：无；1：1个；2：两个）',
  `f_first_spec_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '规格' COMMENT '规格一名称',
  `f_second_spec_name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '尺码' COMMENT '规格二名称',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  `f_tenant_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '0' COMMENT '租户',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_goods_code` (`f_goods_code`) USING BTREE,
  KEY `idx_store_id` (`f_store_id`) USING BTREE,
  KEY `idx_brand_id` (`f_brand_id`) USING BTREE,
  KEY `idx_category_id` (`f_category_id`) USING BTREE,
  KEY `idx_category_path` (`f_category_path`) USING BTREE,
  KEY `idx_create_time` (`f_create_time`) USING BTREE,
  KEY `f_tenant_id` (`f_tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='商品';

-- ----------------------------
-- Records of t_goods
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_goods_spec
-- ----------------------------
DROP TABLE IF EXISTS `t_goods_spec`;
CREATE TABLE `t_goods_spec` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_goods_id` bigint NOT NULL COMMENT '商品id',
  `f_goods_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '商品编码',
  `f_spec_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '规格编码',
  `f_market_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '市场价',
  `f_sale_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '售价',
  `f_vip_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT 'VIP价',
  `f_cost_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '成本价',
  `f_stock_num` int NOT NULL DEFAULT '0' COMMENT '库存',
  `f_sale_num` int NOT NULL DEFAULT '0' COMMENT '销量',
  `f_sort_num` int NOT NULL DEFAULT '0' COMMENT '排序',
  `f_first_spec_value` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '默认' COMMENT '规格一值',
  `f_second_spec_value` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '均码' COMMENT '规格二值',
  `f_main_img` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '主图',
  `f_carousel_img` varchar(3000) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '轮播图',
  `f_state` int NOT NULL DEFAULT '1' COMMENT '状态 （1：启用；2：停用；）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  `f_tenant_id` varchar(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '0' COMMENT '租户',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_goods_id` (`f_goods_id`) USING BTREE,
  KEY `idx_goods_code` (`f_goods_code`) USING BTREE,
  KEY `idx_create_time` (`f_create_time`) USING BTREE,
  KEY `f_tenant_id` (`f_tenant_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='商品规格';

-- ----------------------------
-- Records of t_goods_spec
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_merchant
-- ----------------------------
DROP TABLE IF EXISTS `t_merchant`;
CREATE TABLE `t_merchant` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `f_merchant_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '公司名称',
  `f_contacts` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '联系人',
  `f_contact_phone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '联系电话',
  `f_business_entity` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '企业法人',
  `f_business_license_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '工商证号',
  `f_certification_img_url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '资质证书',
  `f_certification_status` int NOT NULL DEFAULT '0' COMMENT '认证状态（0：待认证；1：已提交；2：成功；3：失败）',
  `f_status` int NOT NULL DEFAULT '1' COMMENT '状态（1：启用；2：停用；）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='商户';

-- ----------------------------
-- Records of t_merchant
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_news
-- ----------------------------
DROP TABLE IF EXISTS `t_news`;
CREATE TABLE `t_news` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `f_title` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '标题',
  `f_img_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '图片地址',
  `f_shot_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '简介',
  `f_context_detail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin COMMENT '内容详情',
  `f_browse_num` int NOT NULL DEFAULT '0' COMMENT '浏览量',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`f_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='新闻';

-- ----------------------------
-- Records of t_news
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_order_info
-- ----------------------------
DROP TABLE IF EXISTS `t_order_info`;
CREATE TABLE `t_order_info` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_order_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '订单号',
  `f_user_id` bigint NOT NULL DEFAULT '0' COMMENT '用户id',
  `f_user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '用户姓名',
  `f_user_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '用户电话',
  `f_address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '详细地址',
  `f_freight_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '运费金额',
  `f_total_num` int unsigned NOT NULL DEFAULT '0' COMMENT '订单商品总数',
  `f_total_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '订单总价',
  `f_pay_amount` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '实际支付金额',
  `f_coupon_id` bigint NOT NULL DEFAULT '0' COMMENT '优惠券id',
  `f_coupon_amount` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '优惠券金额',
  `f_pay_state` int NOT NULL DEFAULT '0' COMMENT '支付状态',
  `f_pay_time` datetime DEFAULT NULL COMMENT '支付时间',
  `f_pay_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '支付方式',
  `f_order_state` int NOT NULL DEFAULT '0' COMMENT '订单状态',
  `f_delivery_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '快递名称',
  `f_delivery_sn` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '快递单号',
  `f_merchant_id` bigint NOT NULL DEFAULT '0' COMMENT '商户ID',
  `f_store_id` bigint NOT NULL DEFAULT '0' COMMENT '店铺ID',
  `f_cost_price` decimal(8,2) unsigned NOT NULL COMMENT '成本价',
  `f_shipping_type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '配送方式 （0：无；1：快递）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  UNIQUE KEY `f_order_no` (`f_order_no`) USING BTREE,
  KEY `idx_user_id` (`f_user_id`) USING BTREE,
  KEY `idx_create_time` (`f_create_time`) USING BTREE,
  KEY `idx_pay_time` (`f_pay_time`) USING BTREE,
  KEY `idx_delivery_sn` (`f_delivery_sn`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='订单';

-- ----------------------------
-- Records of t_order_info
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_saas_company
-- ----------------------------
DROP TABLE IF EXISTS `t_saas_company`;
CREATE TABLE `t_saas_company` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_company_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '公司名称',
  `f_contacts` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '联系人',
  `f_contact_phone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '联系电话',
  `f_business_entity` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '企业法人',
  `f_business_license_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '工商证号',
  `f_certification_img_url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '资质证书',
  `f_certification_status` int NOT NULL DEFAULT '0' COMMENT '认证状态（0：待认证；1：已提交；2：成功；3：失败）',
  `f_status` int NOT NULL DEFAULT '1' COMMENT '状态（1：启用；2：停用；）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='公司';

-- ----------------------------
-- Records of t_saas_company
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_sms_send_log
-- ----------------------------
DROP TABLE IF EXISTS `t_sms_send_log`;
CREATE TABLE `t_sms_send_log` (
  `f_id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_template_id` bigint NOT NULL COMMENT '模板id',
  `f_template_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '模板编号',
  `f_phone` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '发送手机号',
  `f_template_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '模板名称',
  `f_params` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '发送参数',
  `f_send_status` int NOT NULL DEFAULT '0' COMMENT '发送状态（0：已发送；1：成功；2：失败；）',
  `f_response_message` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '返回消息',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注',
  `f_create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建人',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_yn` int NOT NULL DEFAULT '1' COMMENT '是否有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_template_id` (`f_template_id`) USING BTREE,
  KEY `idx_phone` (`f_phone`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='短信发送记录';

-- ----------------------------
-- Records of t_sms_send_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_sms_template
-- ----------------------------
DROP TABLE IF EXISTS `t_sms_template`;
CREATE TABLE `t_sms_template` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT 'id',
  `f_template_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '模板code',
  `f_sys_service_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '系统服务名',
  `f_service_provider` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '服务商',
  `f_service_template_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '服务商模板',
  `f_template_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '模板名称',
  `f_template_body` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '模板内容',
  `f_template_params` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '模板参数',
  `f_status` int DEFAULT '1' COMMENT '状态（1：启用；2：停用；）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '备注',
  `f_create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建人',
  `f_create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `f_update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '修改人',
  `f_update_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  `f_yn` int NOT NULL DEFAULT '1' COMMENT '是否有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  KEY `idx_template_code` (`f_template_code`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='短信模板';

-- ----------------------------
-- Records of t_sms_template
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for t_user
-- ----------------------------
DROP TABLE IF EXISTS `t_user`;
CREATE TABLE `t_user` (
  `f_id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `f_user_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '姓名',
  `f_user_phone` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '' COMMENT '用户手机号',
  `f_qr_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '用户二维码标识',
  `f_gender` int NOT NULL DEFAULT '0' COMMENT '性别（0:未知;1:男;2:女）',
  `f_birthday` date DEFAULT '1970-01-01' COMMENT '生日',
  `f_id_card_no` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '身份证号',
  `f_id_card_front` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '身份证正面照',
  `f_id_card_reverse` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '身份证反面照',
  `f_nick_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '昵称',
  `f_avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '头像',
  `f_login_pwd` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '登陆密码',
  `f_pay_pwd` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '支付密码',
  `f_wx_open_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '注册类型',
  `f_status` int DEFAULT '1' COMMENT '状态（1：启用；2：停用；）',
  `f_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '备注',
  `f_create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `f_create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '创建人',
  `f_update_time` datetime DEFAULT NULL COMMENT '修改时间',
  `f_update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '' COMMENT '修改人',
  `f_yn` tinyint NOT NULL DEFAULT '1' COMMENT '0无效1有效',
  PRIMARY KEY (`f_id`) USING BTREE,
  UNIQUE KEY `uniq_user_phone` (`f_user_phone`) USING BTREE COMMENT '用户手机号唯一索引',
  KEY `idx_yn` (`f_yn`) USING BTREE COMMENT '有效标识索引'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='用户表';

-- ----------------------------
-- Records of t_user
-- ----------------------------
BEGIN;
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
